package liuyang.bigeventserver.common.redis;

import liuyang.bigeventserver.common.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

/**
 * @author xconf
 * @since 2024/2/28
 */
@Service
public class RedisCacheService implements CacheService {

    @Autowired
    @Qualifier("redisTemplate3")// 不加貌似也可以 还是加上吧
    private RedisTemplate<String, Object> redisTemplate3;

    @Autowired
    private StringRedisTemplate stringRedisTemplate;


    @Override
    public void put(String key, Object value) {
        // TODO
    }

    @Override
    public Object get(String key) {
        // TODO
        return null;
    }

    @Override
    public void remove(String key) {
        // TODO
    }
}
